import styles from './index.less';
import {Button} from "antd"
import { apiGetData } from '@/server'


export default function IndexPage() {
  const getData = ()=>{
    apiGetData()
  }
  return (
    <div>
      <h1 className={styles.title}>Page index</h1>
      <Button onClick={getData}>点击发起请求</Button>
    </div>
  );
}
